package com.wyz.note.basics.chain;

/**
 * @Description: 请假消息处理类
 * @author: wei yz
 * @Date: 2024/8/4 11:24
 */
public abstract class LeaveRequestHandler {
    protected LeaveRequestHandler successor;

    public void setSuccessor(LeaveRequestHandler successor) {
        this.successor = successor;
    }

    public abstract void handleRequest(int days);
}
